package com.bds.btcdc.web.model.strategy;


/**
 * Created by DongChenchen on 2018/4/27.
 * 涨跌判定结果(交易所A和交易所B)
 * 一个order对象，对应两个订单，（交易所A和交易所B 各一个订单）
 * 需要设置的值  up_or_down_buy,up_or_down_sell
 **/
public class Direction {
    private Integer up_or_down_a; //跌涨判定(-1,跌,1涨,0不涨不跌)    （交易所A涨跌情况 ）
    private Integer up_or_down_b; //跌涨判定(-1,跌,1涨,0不涨不跌)    （交易所B的涨跌情况）
    private Integer[] result;//交易所操作顺序（0:A买B卖,1:B卖A买 ,2:A卖B买 ,3:B买A卖  ）

    public Direction() {
    }
    public Direction(Integer up_or_down_buy, Integer up_or_down_sell) {
        this.up_or_down_a = up_or_down_a;
        this.up_or_down_b = up_or_down_b;
    }

    public Integer getUp_or_down_a() {
        return up_or_down_a;
    }

    public void setUp_or_down_a(Integer up_or_down_a) {
        this.up_or_down_a = up_or_down_a;
    }

    public Integer getUp_or_down_b() {
        return up_or_down_b;
    }

    public void setUp_or_down_b(Integer up_or_down_b) {
        this.up_or_down_b = up_or_down_b;
    }

    public Integer[] getResult() {
        return result;
    }

    public void setResult(Integer[] result) {
        this.result = result;
    }
}
